﻿using YY.Admin.Core;

namespace YY.Admin.Module
{
    /// <summary>
    /// SideBar选项
    /// </summary>
    public class NavItem : TabSource
    {
        /// <summary>
        /// 是否放到底部
        /// </summary>
        public bool AlignBottom { get; set; } = false;

        /// <summary>
        /// 是否支持高亮选中
        /// </summary>
        public bool IsActive { get; set; } = true;

        /// <summary>
        /// 图标类型
        /// </summary>
        public override IconTypeEnum IconType { get => base.IconType; set => base.IconType = value; }
        public NavItem()
        {
            IconType = IconTypeEnum.MaterialDesign;
        }
    }
}
